package com.fqcar.fqdf.plugin.image;

import android.os.Parcel;
import android.os.Parcelable;

public class ImageZoomBean implements Parcelable {

    private String title;

    private String imgUrl;

    private String imgDes;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getImgDes() {
        return imgDes;
    }

    public void setImgDes(String imgDes) {
        this.imgDes = imgDes;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.title);
        dest.writeString(this.imgUrl);
        dest.writeString(this.imgDes);
    }

    public ImageZoomBean() {
    }

    public ImageZoomBean(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    protected ImageZoomBean(Parcel in) {
        this.title = in.readString();
        this.imgUrl = in.readString();
        this.imgDes = in.readString();
    }

    public static final Creator<ImageZoomBean> CREATOR = new Creator<ImageZoomBean>() {
        @Override
        public ImageZoomBean createFromParcel(Parcel source) {
            return new ImageZoomBean(source);
        }

        @Override
        public ImageZoomBean[] newArray(int size) {
            return new ImageZoomBean[size];
        }
    };
}
